<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@page import="controllers.GameActionsController"%>
<%@page import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Pandemic</title>
</head>
<body>
	<form method="get" action="/Pandemic/ShowActionOptions">
		<input type="submit" name="action" value="Drive"
		
			<%if (!(boolean) request.getSession().getAttribute("canDrive")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="DirectFlight"
			
			<%if (!(boolean) request.getSession().getAttribute("canDirectFlight")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="CharterFlight"
			
			<%if (!(boolean) request.getSession()
					.getAttribute("canCharterFlight")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="ShuttleFlight"
			
			<%if (!(boolean) request.getSession()
					.getAttribute("canShuttleFlight")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="BuildResearchStation"
			
			<%if (!(boolean) request.getSession().getAttribute(
					"canBuildReserachStation")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="TreatDisease"
			
			<%if (!(boolean) request.getSession().getAttribute("canTreatDisease")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="DiscoverACure"
			
			<%if (!(boolean) request.getSession()
					.getAttribute("canDiscoverACure")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="RecieveKnowledge"
			
			<%if (!(boolean) request.getSession().getAttribute(
					"canRecieveKnowledge")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="ShareKnowledge"
			
			<%if (!(boolean) request.getSession().getAttribute(
					"canShareKnowledge")) {
				out.print("disabled=\"disabled\"");
			}%>
			style="width: 10%;"><input type="submit" name="action"
			value="EndTurn" style="width: 10%;">
	</form>
	<br><jsp:include page="Map.jsp" />
</body>
</html>